home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
GRAPHICS
/
SESANIM.ZIP
/
!SESanim
/
!Help
next >
Wrap
Text File
|
1997-05-19
|
4KB
|
100 lines
SESAnim
~~~~~~~~
by Square Eyes Software
with a *LOT* of help from Peter Hartley's InterGif code.
Purpose: To display Animated GIFs and Sprites. May also display The Complete
Animator files.
Note
¬¬¬¬
Requires Intergif to display images buffered. This must have been seen by the
filer before the program will display Animated GIFs. (Filer_Boot !Intergif if
you get the error - no need to reload SESAnim). If you don't choose "Buffered",
InterGif is not required.
The unbuffered routines use a specially hacked version of InterGif's routines,
but these intergrated into the program.
Operation
~~~~~~~~~
Double-click on the program, and drag a file to the iconbar icon to display it.
The system will display as many animations as you like, but be warned they
won't run at full speed if you do this.
You can run in any mode you like, GIFs run best in VGA modes (e.g. mode 28), as
that is the resolution that GIFs use.
Buffering
If the "buffered" option is set, then the program will first use intergif to
convert the file to a series of sprites, and display that. This usually (but not
always) takes up more memory, and always runs faster (i.e. less processor time
during display). Where an animation has frames very close to each other,
buffering gives a better idea of the true speed. Hoever, Netscape etc do not
buffer the animation, so unbuffered display gives a better idea of what an
animation will look like on the punters' web browsers.
Animation control
¬¬¬¬¬¬¬¬¬ ¬¬¬¬¬¬¬
Clicking on the animation opens a control window that lets you do play, stop,
frame advance the display. It will show frame number or name and mode, depending
on whether buffering is active.
Note the frame reverse for unbuffered images requires playing the whole image
through from the beginning, and so is quite slow. Better to use the buffered
version if you want to do this lots. This problem may change if Peter Hartley
changes InterGif.
Frame advance/reverse is intended to make it easier to find bad images in the
animation. Also, all other players seem to be covered in buttons, so I thought
mine ought to as well.
The funny black button sets whether or not the window will have scroll/title
bars. Should you switch of title bars, you can move the window with MENU, and
close it with ADJUST.
Indirect use
¬¬¬¬¬¬¬¬ ¬¬¬
You can call the code from another program using something like
SWI"Wimp_StartTask","<SESAnimate$Dir>.RunAnim <<filename>>"
(unbuffered display - GIF/Sprite/Complete Animator)
SWI"Wimp_StartTask","<SESAnimate$Dir>.RunBuff <<filename>>"
(buffered display - Sprite files only - all same size, same mode, named like
%%%delayXXX)
Note that I haven't bothered with any checking routines, so be nice to it.
Author information
¬¬¬¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬
Written by Peter Hillman, May 6th 1997 - May 19th 1997 when he should have been revising.
Email address: pmh@dcs.ed.ac.uk
Website: http://www.dcs.ed.ac.uk/home/pmh
Copyright
¬¬¬¬¬¬¬¬¬
In line with the extremely formal document provided with Intergif, I extend a
similar condition to users of this.
Basically, do what the **** you want with it, as long as you don't try to make
it look like you wrote it, or nick my logo, which a friend designed for me and
I like it.
Copy it, distribute it, take out a full page ad in the Times listing the entire
source code, I don't care.
There is a condition - just a little one. If my code accidentally fouls up your
machine - sorry, but I'm not going to do anything about it. Possibly I might
avoid you for a few years, but certainly I won't admit responsibility.
:-)